#include "CEllipse.h"

CEllipse::CEllipse()
{

}

void CEllipse::setXY(int x, int y)
{
    this->x = x;
    this->y = y;
}
void CEllipse::setWH(int w, int h)
{
    this->w = w;
    this->h = h;
}

void CEllipse::drawFigure(QPainter *painter)
{
    painter->drawEllipse(x, y, w, h);
}
CEllipse::~CEllipse()
{

}
